<?php
if($_GET['authemail'] && $_GET['authemail']!=""){
	//echo  $_GET['authemail'];
	$authemail =  $_GET['authemail'];
	if($_GET['authcode'] && $_GET['authcode']!=""){
		//echo $_GET['authcode'];
		$authcode = $_GET['authcode'];
		$userverified = dbUpdate('users',array("verified=1"),array("authcode='$authcode'","email='$authemail'"));
		echo '<h3>Your account has been activated. Please <a href="'.$o['root'].'/outword/login.php">login</a> to start using outword.</h3>';
	}
}
?>